package com.ccnu.JobHub.model.database;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("students")
public class Student {
    @TableId("student_id")
    private Integer studentId;

    @TableField("name")
    private String name;

    @TableField("authority")
    private Integer authority;

    @TableField("email")
    private String email;

    @TableField("sex")
    private Character sex;

    @TableField("birthday")
    private Date birthday;

    @TableField("brief_introduction")
    private String briefIntroduction;

    @TableField("nickname")
    private String nickname;

    @TableField("avatar")
    private String avatar;

    @TableField("current_company")
    private String currentCompany;

    @TableField("position")
    private String position;

    @TableField("password")
    private String password;
}
